home *** CD-ROM | disk | FTP | other *** search
/ Ray Dream Studio 5 / Ray Dream.iso / pc / DreamSDK / Windows / SAMPLES / DEFORMER / DEFS / DEFSFAC.H < prev    next >
Encoding:
C/C++ Source or Header  |  1997-07-11  |  772 b   |  31 lines

  1. // Copyright (c)1995 Ray Dream, Inc. All Rights Reserved.
  2. /*$Id: DefSFac.h 1.1 1996/07/18 23:57:18 Damien Exp $*/
  3.  
  4. #ifndef __DEFSFAC__
  5. #define __DEFSFAC__  
  6.  
  7. #ifndef __I3DEX__
  8. #include "I3DEx.h"
  9. #endif
  10.                   
  11. // Deformer Class Factory :
  12. class DeformerClassFactory : public IClassFactory {
  13. public:
  14.   DeformerClassFactory(void);
  15.   ~DeformerClassFactory(void);
  16.  
  17.   //IUnknown members
  18.   STDMETHODIMP         QueryInterface(REFIID, LPVOID FAR*);
  19.   STDMETHODIMP_(ULONG) AddRef(void);
  20.   STDMETHODIMP_(ULONG) Release(void);
  21.  
  22.   //IClassFactory members
  23.   STDMETHODIMP         CreateInstance(LPUNKNOWN, REFIID, LPVOID FAR*);
  24.   STDMETHODIMP         LockServer(BOOL);
  25. protected:
  26.   ULONG           m_cRef;
  27.   };                         
  28.  
  29. #endif
  30.  
  31.